package com.wwlwxg.webservice.server;


import com.wwlwxg.webservice.server.ws.helloworld.HelloWorld;
import com.wwlwxg.webservice.server.ws.helloworld.HelloWorldImpl;

import javax.xml.ws.Endpoint;

public class JdkServer {

    private final static String HOST = "http://10.92.33.140:8889/helloworld";

    public static void main(String[] args) {
        System.out.println("web service start ... ");
        HelloWorld helloWorld = new HelloWorldImpl();
        String address = HOST;
        Endpoint.publish(address, helloWorld);
        System.out.println("web service started ... ");

    }
}
